package com.woniu.common.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 退药项记录对象 dms_drug_refund_item_record
 * 
 * @author ruoyi
 * @date 2024-10-21
 */
public class DmsDrugRefundItemRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 注册ID */
    @Excel(name = "注册ID")
    private Integer registrationId;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Integer drugId;

    /** 退药单位 */
    @Excel(name = "退药单位")
    private Integer refundNumUnit;

    /** 退药数量 */
    @Excel(name = "退药数量")
    private Integer refundNum;

    /** 退药时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退药时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    /** 执行者ID */
    @Excel(name = "执行者ID")
    private Integer excutorId;

    /** 退药项记录ID */
    @Excel(name = "退药项记录ID")
    private Integer refundItemRecordId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setRegistrationId(Integer registrationId) 
    {
        this.registrationId = registrationId;
    }

    public Integer getRegistrationId() 
    {
        return registrationId;
    }
    public void setDrugId(Integer drugId) 
    {
        this.drugId = drugId;
    }

    public Integer getDrugId() 
    {
        return drugId;
    }
    public void setRefundNumUnit(Integer refundNumUnit) 
    {
        this.refundNumUnit = refundNumUnit;
    }

    public Integer getRefundNumUnit() 
    {
        return refundNumUnit;
    }
    public void setRefundNum(Integer refundNum) 
    {
        this.refundNum = refundNum;
    }

    public Integer getRefundNum() 
    {
        return refundNum;
    }
    public void setRefundTime(Date refundTime) 
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime() 
    {
        return refundTime;
    }
    public void setExcutorId(Integer excutorId) 
    {
        this.excutorId = excutorId;
    }

    public Integer getExcutorId() 
    {
        return excutorId;
    }
    public void setRefundItemRecordId(Integer refundItemRecordId) 
    {
        this.refundItemRecordId = refundItemRecordId;
    }

    public Integer getRefundItemRecordId() 
    {
        return refundItemRecordId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("type", getType())
            .append("registrationId", getRegistrationId())
            .append("drugId", getDrugId())
            .append("refundNumUnit", getRefundNumUnit())
            .append("refundNum", getRefundNum())
            .append("refundTime", getRefundTime())
            .append("excutorId", getExcutorId())
            .append("refundItemRecordId", getRefundItemRecordId())
            .toString();
    }
}
